package user.zc.config.value;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author zhouchuang
 * @date 2023/8/10 14:07
 */
@Getter
@Setter
@ToString(callSuper = true)
public class ColumnValue extends Key {

    private String type;
    private String comment;
    private Integer len;
    private Integer scale;
    private Boolean isPk ;

    public ColumnValue(){
        super(null);
    }
    public ColumnValue(String key, String type, String comment, Integer len, Integer scale, Boolean isPk) {
        super(key);
        this.type = type;
        this.comment = comment;
        this.len = len;
        this.scale = scale;
        this.isPk = isPk;
    }

}
